/*  1:   */ package org.intellij.plugins.relaxNG.compact.formatting;
/*  2:   */ 
/*  3:   */

import com.intellij.formatting.FormattingModel;
import com.intellij.formatting.FormattingModelBuilder;
import com.intellij.formatting.FormattingModelProvider;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.codeStyle.CodeStyleSettings;
import org.jetbrains.annotations.NotNull;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */
/* 10:   */
/* 11:   */
/* 12:   */ 
/* 13:   */ public class RncFormattingModelBuilder
/* 14:   */   implements FormattingModelBuilder
/* 15:   */ {
/* 16:   */   @NotNull
/* 17:   */   public FormattingModel createModel(PsiElement paramPsiElement, CodeStyleSettings paramCodeStyleSettings)
/* 18:   */   {
/* 19:32 */     FormattingModel tmp23_20 = FormattingModelProvider.createFormattingModelForPsiFile(paramPsiElement.getContainingFile(), new RncBlock(paramPsiElement.getNode()), paramCodeStyleSettings);
/* 20:32 */     if (tmp23_20 == null) {
/* 21:32 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/intellij/plugins/relaxNG/compact/formatting/RncFormattingModelBuilder", "createModel" }));
/* 22:   */     }
/* 23:32 */     return tmp23_20;
/* 24:   */   }
/* 25:   */   
/* 26:   */   public TextRange getRangeAffectingIndent(PsiFile paramPsiFile, int paramInt, ASTNode paramASTNode)
/* 27:   */   {
/* 28:37 */     return null;
/* 29:   */   }
/* 30:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.plugins.relaxNG.compact.formatting.RncFormattingModelBuilder

 * JD-Core Version:    0.7.0.1

 */